package com.dai.yygh.service;

import com.dai.yygh.model.hosp.Department;
import com.dai.yygh.vo.hosp.DepartmentQueryVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface DepartmentService {

    /**
     * 上传科室信息
     * @param paramMap
     */
    void save(Map<String, Object> paramMap);

    Page<Department> selectPage(Integer page, Integer limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    List getDeptList(String hoscode);

    String getDepName(String hoscode, String depcode);

    List<Department> findTree(String hoscode);
}
